package com.lc.cehui.http.request;

import com.hjq.http.config.IRequestApi;

public class CouponInsertApi implements IRequestApi {
    private int type	;
    private int	userid		;
    private String	name	;
    private String	start_time	;
    private String	end_time	;
    private String	shold_price	;
    private String	red_price	;
    private String	circul	;
    private String	text;

    public CouponInsertApi setType(int type) {
        this.type = type;
        return this;
    }

    public CouponInsertApi setUserid(int userid) {
        this.userid = userid;
        return this;
    }

    public CouponInsertApi setName(String name) {
        this.name = name;
        return this;
    }

    public CouponInsertApi setStart_time(String start_time) {
        this.start_time = start_time;
        return this;
    }

    public CouponInsertApi setEnd_time(String end_time) {
        this.end_time = end_time;
        return this;
    }

    public CouponInsertApi setShold_price(String shold_price) {
        this.shold_price = shold_price;
        return this;
    }

    public CouponInsertApi setRed_price(String red_price) {
        this.red_price = red_price;
        return this;
    }

    public CouponInsertApi setCircul(String circul) {
        this.circul = circul;
        return this;
    }

    public CouponInsertApi setText(String text) {
        this.text = text;
        return this;
    }

    @Override
    public String getApi() {
        return "api/coupon_insert";
    }
}
